﻿<div class="sample_title">Popup with Ajax Remote Request Page</div>

sample:<br />
<div class="sample_preview">
    <script type="text/javascript"><!--//--><![CDATA[//><!--
        $(document).ready(function() {
            // Bind Event Click
            $('#btn_popup2').click(function() {
                // Call Popup Modal
                var $popup = openPopup(gs_path + '/App/API/?view=form_popup_content');
            });
        });
        //--><!]]></script>
    <button id="btn_popup2">Open Popup</button>
</div><br />
code:
<div class="sample_code" rel="brush: js; html-script: false;">
    &lt;script type="text/javascript"&gt
        $(document).ready(function() {
            // Bind Event Click
            $('#btn_popup').click(function() {
                // Call Popup Modal
                var $popup = openPopup(gs_path + '/App/API/?view=form_popup_content');
            });
        });
    &lt;/script&gt;
    
    &lt;button id="btn_popup"&gt;Open Popup&lt;/button&gt;
    <% for (int i = 0, max_i = 9; i < max_i; i++) { Response.Write("<br />"); } %>
</div>